//引入pinia
import { defineStore } from "pinia";
import { reactive, ref } from "vue";

//通过 defineStore 创建的一个 store
export const useisCollapseStore = defineStore('isCollapse', () => {
  //一个异步函数，用于执行获取 API 请求
  const isCollapse =ref(false)
  const changeisCollapse = (bool) => {
   isCollapse.value=bool
  }
  return { changeisCollapse, isCollapse, }
});